The keyboard does not work in DOS due to hardware problem.
Cause:
There is an unknown hardware problem with the keyboard or the computer.
Solution:
Contact a qualified computer technician.